package com.boss.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("users")
public class User {
    @TableId
    private Integer userId;
    private String userName;
    private String password;
    private String name;
    private int role;
    private String email;
    private String phone;
    private LocalDate createTime;
    private LocalDate updateTime;
}
